package com.second.mapper;

import com.second.model.pojo.FRecommendvo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FRecommendVoMapper {
    @Select("select * from f_recommendvo")
    List<FRecommendvo> findAll();
    
    @Insert("insert into f_recommendvo(user_id,shop_id,score) values(#{userId},#{shopId},#{score})")
    int insertRecommendVo(Integer userId,Integer shopId,Double score);
}
